import { get } from '../utils/request'

/**
 * 疾病分类
 * @param {*} data 
 * @returns 
 */
export const loadIllAPI = (data) => get("/illnesses/categories", data)

/**
 * 疾病列表
 * @param {*} data 
 * @returns 
 */
export const loadIllsMoreAPI = (data) => get("/illnesses", data)

/**
 * 疾病详情
 * @param {*} id 
 * @returns 
 */
export const loadIllsDescAPI = (id) => get("/illnesses/" + id)